<?php

namespace app\common\model;

use think\Model;
use think\Db;
use think\Config;
use think\Loader;

class UserLog extends Model {

    // 指定表名,不含前缀
    protected $name = 'user_log';


 
	
	public function getListByArgOne($arg, $field = '*')
    {
        
            return $this->where($arg)->field($field)->find();
        
    }
	
	public function getListByArg($arg, $field = '*')
    {
        
            return $this->where($arg)->field($field)->select();
        
    }
}
